There is no universal Samsung pattern unlock master code that can remove a forgotten pattern, PIN, or password from a modern Galaxy phone. Codes such as *#0*# are not lock-screen master keys.