py/modthread: Make Lock objects work when GIL is enabled.
py/modthread: Make Lock objects work when GIL is enabled.

turbinenreiter/micropython,matthewelse/micropython,blazewicz/micropython,redbear/micropython,oopy/micropython,henriknelson/micropython,chrisdearman/micropython,hiway/micropython,puuu/micropython,pramasoul/micropython,trezor/micropython,redbear/micropython,mhoffma/micropython,puuu/micropython,TDAbboud/micropython,bvernoux/micropython,HenrikSolver/micropython,Timmenem/micropython,MrSurly/micropython-esp32,kerneltask/micropython,alex-robbins/micropython,swegener/micropython,MrSurly/micropython,SHA2017-badge/micropython-esp32,alex-march/micropython,dxxb/micropython,swegener/micropython,tobbad/micropython,hiway/micropython,tuc-osg/micropython,redbear/micropython,hosaka/micropython,adafruit/circuitpython,kerneltask/micropython,TDAbboud/micropython,tuc-osg/micropython,deshipu/micropython,blazewicz/micropython,HenrikSolver/micropython,adafruit/micropython,dmazzella/micropython,bvernoux/micropython,oopy/micropython,ryannathans/micropython,emfcamp/micropython,dmazzella/micropython,AriZuu/micropython,adafruit/micropython,tuc-osg/micropython,chrisdearman/micropython,pramasoul/micropython,pozetroninc/micropython,selste/micropython,Peetz0r/micropython-esp32,ryannathans/micropython,adafruit/circuitpython,cwyark/micropython,hosaka/micropython,alex-march/micropython,deshipu/micropython,chrisdearman/micropython,pramasoul/micropython,oopy/micropython,SHA2017-badge/micropython-esp32,turbinenreiter/micropython,adafruit/circuitpython,adafruit/circuitpython,ryannathans/micropython,torwag/micropython,deshipu/micropython,dxxb/micropython,jmarcelino/pycom-micropython,lowRISC/micropython,tralamazza/micropython,TDAbboud/micropython,adafruit/circuitpython,infinnovation/micropython,hosaka/micropython,alex-robbins/micropython,redbear/micropython,trezor/micropython,AriZuu/micropython,HenrikSolver/micropython,pfalcon/micropython,cwyark/micropython,torwag/micropython,cwyark/micropython,PappaPeppar/micropython,turbinenreiter/micropython,infinnovation/micropython,puuu/micropython,dmazzella/micropython,torwag/micropython,toolmacher/micropython,dxxb/micropython,Peetz0r/micropython-esp32,puuu/micropython,Timmenem/micropython,turbinenreiter/micropython,MrSurly/micropython-esp32,selste/micropython,hiway/micropython,AriZuu/micropython,toolmacher/micropython,matthewelse/micropython,Peetz0r/micropython-esp32,deshipu/micropython,trezor/micropython,lowRISC/micropython,PappaPeppar/micropython,toolmacher/micropython,alex-march/micropython,pfalcon/micropython,pozetroninc/micropython,oopy/micropython,MrSurly/micropython,tuc-osg/micropython,infinnovation/micropython,emfcamp/micropython,matthewelse/micropython,matthewelse/micropython,emfcamp/micropython,lowRISC/micropython,ganshun666/micropython,infinnovation/micropython,henriknelson/micropython,kerneltask/micropython,adafruit/micropython,blazewicz/micropython,ganshun666/micropython,dxxb/micropython,kerneltask/micropython,lowRISC/micropython,pfalcon/micropython,emfcamp/micropython,henriknelson/micropython,micropython/micropython-esp32,alex-robbins/micropython,pfalcon/micropython,micropython/micropython-esp32,jmarcelino/pycom-micropython,tobbad/micropython,tobbad/micropython,alex-robbins/micropython,pozetroninc/micropython,swegener/micropython,SHA2017-badge/micropython-esp32,selste/micropython,deshipu/micropython,hosaka/micropython,PappaPeppar/micropython,alex-march/micropython,MrSurly/micropython-esp32,toolmacher/micropython,micropython/micropython-esp32,swegener/micropython,mhoffma/micropython,trezor/micropython,ganshun666/micropython,bvernoux/micropython,cwyark/micropython,mhoffma/micropython,AriZuu/micropython,PappaPeppar/micropython,MrSurly/micropython,pozetroninc/micropython,HenrikSolver/micropython,chrisdearman/micropython,Timmenem/micropython,tobbad/micropython,matthewelse/micropython,redbear/micropython,hosaka/micropython,adafruit/micropython,pramasoul/micropython,blazewicz/micropython,swegener/micropython,MrSurly/micropython-esp32,bvernoux/micropython,henriknelson/micropython,Peetz0r/micropython-esp32,SHA2017-badge/micropython-esp32,torwag/micropython,trezor/micropython,alex-robbins/micropython,tuc-osg/micropython,emfcamp/micropython,bvernoux/micropython,blazewicz/micropython,SHA2017-badge/micropython-esp32,MrSurly/micropython-esp32,TDAbboud/micropython,Timmenem/micropython,toolmacher/micropython,dxxb/micropython,micropython/micropython-esp32,tralamazza/micropython,micropython/micropython-esp32,adafruit/circuitpython,Timmenem/micropython,PappaPeppar/micropython,turbinenreiter/micropython,selste/micropython,pfalcon/micropython,jmarcelino/pycom-micropython,kerneltask/micropython,ryannathans/micropython,ganshun666/micropython,pozetroninc/micropython,tobbad/micropython,mhoffma/micropython,TDAbboud/micropython,jmarcelino/pycom-micropython,HenrikSolver/micropython,alex-march/micropython,tralamazza/micropython,AriZuu/micropython,henriknelson/micropython,ganshun666/micropython,tralamazza/micropython,oopy/micropython,ryannathans/micropython,Peetz0r/micropython-esp32,puuu/micropython,hiway/micropython,matthewelse/micropython,selste/micropython,pramasoul/micropython,MrSurly/micropython,hiway/micropython,chrisdearman/micropython,jmarcelino/pycom-micropython,MrSurly/micropython,cwyark/micropython,dmazzella/micropython,torwag/micropython,adafruit/micropython,mhoffma/micropython,infinnovation/micropython,lowRISC/micropython