結果 : how to lock code in python